package com.yaowk.api.mall.clothing.web;

import com.yaowk.api.mall.clothing.model.Surveyor;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@Data
public class SurveyorModel extends Surveyor {

    public SurveyorModel() {
    }

    public SurveyorModel(Surveyor surveyor) {
        setAccount(surveyor.getAccount());
        setCode(surveyor.getCode());
        setCommissionId(surveyor.getCommissionId());
        setHeadUrl(surveyor.getHeadUrl());
        setPhoneNumber(surveyor.getPhoneNumber());
        setRealName(surveyor.getRealName());
        setSex(surveyor.getSex());
        setCreateTime(surveyor.getCreateTime());
        setId(surveyor.getId());
        setParentId(surveyor.getParentId());
        setPassword(surveyor.getPassword());
        setStatus(surveyor.getStatus());
        setUsername(surveyor.getUsername());
    }

    @ApiModelProperty("今日激活人数")
    private Integer activeNumToday;
    @ApiModelProperty("今日录入人数")
    private Integer inputNumToday;
    @ApiModelProperty("本月激活人数")
    private Integer activeNumMonth;
    @ApiModelProperty("本月录入人数")
    private Integer inputNumMonth;

}
